﻿    <%@ Page Language="VB" ContentType="text/css" %>

<script runat="server">

    Public sColorMain As String
    Public sColorBack As String
    
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        
        If HttpContext.Current.Session("ColorScheme") = 0 Then
            HttpContext.Current.Session("ColorScheme") = 1            
        End If
        
        Select Case HttpContext.Current.Session("ColorScheme")
            Case 1
                sColorMain = "#CCCC99"
                sColorBack = " #D4D4D4"
            Case 2
                sColorMain = "#FF9900"
                sColorBack = " #D4D4D4"
            Case 3
                sColorMain = "#CCCC33"
                sColorBack = "#E2FFC6"
            Case 4
                sColorMain = "#66CCCC"
                sColorBack = " #CCFFCC"
            Case 5
                sColorMain = "#CC99FF"
                sColorBack = " #F0F0F0"
            Case 6
                sColorMain = "#FFCC33"
                sColorBack = " #FFFF99"
        End Select
	
    End Sub

</script>

BODY{
	font-family : Arial, Helvetica, sans-serif;
	background-color : White;
	color : Black;
	font-size : 11px;
	margin : 0px;
	topmargin : 0px;
	leftmargin : 0px;
}

.ItemSelected {
	font-family : Arial, Helvetica, sans-serif;
	color : Black;
	background-color : <%# sColorMain %>;  	
	font-size : 11px;
}

.FormButton {
	background-color : Silver;
	border : 1px solid Black;
	color : #000000;
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
	padding-left : 5px;
	padding-right : 5px;
	font-weight : bold;
}

.FormInput {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
	background-color : White;
	border : 1px solid Black;
	color : #000000;
	padding-left : 4px;
}

.FormInputDisabled {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
	background-color : #EFEDDE;
	border : 1px solid Black;
	color : #000000;
	padding-left : 4px;
}

.BoxDialogo {
	border : 1 solid Black;
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
}

.BoxDialogo TD { /* used for input */
	background-color : <%= sColorBack %>;
	padding-left : 5px;
	padding-right : 5px;
}	

.BoxDialogo TH {
	font-weight : bold;
	background-color : <%= sColorMain %>;
	text-align : left;
	color : #666666;
	padding-bottom : 2px;
	padding-left : 5px;
	padding-right : 5px;
	padding-top : 2px;
	border-bottom : 1 solid Black;
}

.TabellaForm {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
	border : 1 solid Black;
}

.TabellaForm TD { /* used for input */
	background-color : <%= sColorBack %>;
	padding: 2px 5px 2px 5px;
}	

.TabellaForm TH {
	font-weight : bold;
	background-color : <%= sColorMain %>;
	color : #666666;
	padding-bottom : 2px;
	padding-left : 5px;
	padding-right : 20px;
	padding-top : 2px;
	text-align : left;
}

.BarraTop { /* used for input */
	background-color :<%= sColorMain %>;
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
	padding-right : 10px;
}	

.TabellaLista {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
}

.TabellaLista TD { /* used for input */
	background-color : <%= sColorBack %>;
	padding: 2px 5px 2px 5px;
}	

.TabellaLista TH {
	font-weight : bold;
	background-color : <%= sColorMain %>;
	color : #666666;
	padding-left : 5px;
	padding-right : 5px;
	text-align : left;
}

.TabellaReport{
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;
}

.TabellaReport TD {
	background-color : #FFFFFF;
	padding: 2px 5px 2px 5px;
	border: 1pt solid;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	vertical-align: top;
}	

.TabellaReport TH {
	font-weight : bold;
	color : #000000;
	padding-left : 5px;
	padding-right : 5px;
	border: medium solid;
}

.WorkDays {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;	
	background-color : <%= sColorBack %>;
	color : #666666;
	padding-left : 5px;
	padding-right : 5px;
	font-weight : bold;
}

.TabellaBianca {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
}

.Riquadro{
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;	
	border : 1 solid Black;
	padding: 5px;
}

A {
	color : #666666;
}

A:visited {
	color : #666666;
}

.hours {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;	
	padding-left : 5px;
	padding-right : 5px;
	vertical-align : top;
}

.hours A {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;	
	padding-left : 5px;
	padding-right : 5px;
	font-weight : bold;
}

.HoliDays {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 11px;	
	background-color : <%= sColorMain %>;
	color : #666666;
	padding-left : 5px;
	padding-right : 5px;
	font-weight : bold;
}

B {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;	
	color : #666666;
	font-weight : bold;
}

.TabellaHome {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
	background-color: <%= sColorBack %>;
	border: thin dashed #666666;
	height: 200px;
	padding: 10px;
	width: 300px;
	vertical-align: top;
}

.TabellaHome TH {
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
	font-weight: bold;
}


.GridTab
{
    /* lista elementi asp.net */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    top: 30px;
    left: 50px;
    position: relative;
}

.GridView
{
    /* lista elementi asp.net */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    width: 700px;
    top: 40px;
    left: 50px;
    position: relative;
    border: 0px;
}

.GV_header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
	font-weight : bold;
	background-color : <%= sColorMain %>;
	text-align : left;
	color : #666666;
	border: 1px;
}

.GV_footer {
	background-color : <%= sColorMain %>;
	text-align : left;
	color : #666666;
}

.datepickclass
{ /* usata per attaccare il datepicker su gridview */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.GV_row { /* used for input */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
	background-color : <%= sColorBack %>;
	border: 0px;
    border: 0px;
}

.GV_row_alt { /* used for input */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
	background-color : white;
    border: 0px;
}

.TabellaLista TH {
	font-weight : bold;
	background-color : <%= sColorMain %>;
	color : #666666;
	padding-left : 5px;
	padding-right : 5px;
	text-align : left;
}

.Gridbutton
{
	background-color : Silver;
	border : 1px solid Black;
	color : #000000;
	font-family : Arial, Helvetica, sans-serif;
	font-size : 12px;
	padding-left : 5px;
	padding-right : 5px;
	font-weight : bold;

    left: 50px;
    top: 50px;
    position: relative;
}

.DetailsView
{
    background-color: <%= sColorBack %>;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    top: 60px;
    left: 30px;
    position: absolute;
}

.DetailsViewNote
{
    background-color: <%= sColorBack %>;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    top: 60px;
    left: 460px;
    position: absolute;
}

.DetailsView TD
{
	padding-left : 10px;
	padding-right : 10px;
}

.DetailsView TH
{
	font-weight : bold;
	background-color : <%= sColorMain %>;
	text-align : left;
}

.GridViewText
{
	color : #000000;
    background-color: <%= sColorBack %>;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    border : 0px;
}    

#postit1_img
{        
    position: absolute; 
    top: 265px; left: 100px; width: 200px; height: 200px;
    background-image: url('/timereport/images/post-it.gif'); 
	 }

#postit1_txt
{     
    font-family: Arial, Helvetica, sans-serif;
	font-weight : normal;
    font-size: 11px; 
    position: absolute; 
    top: 290px; left: 130px; 
    width: 150px; 
}

#postit1_txt B 
{           color: #0000FF;
}
